package com.huitone.gddw.service.dto.system;

/**
 * 角色管理 DTO 对象
 * @author wuluodan
 *
 */
public class RoleDTO {

	private String roleId;
	
	private String roleName;
	
	private String acsFlag;
	
	private String remark;
	
	private String status = "1";

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getAcsFlag() {
		return acsFlag;
	}

	public void setAcsFlag(String acsFlag) {
		this.acsFlag = acsFlag;
	}
	
	public String getAcsFlagStr() {
		if (null == this.acsFlag) return "未知";
		if (this.acsFlag.equals("0")) return "本单位数据";
		if (this.acsFlag.equals("1")) return "所有数据";
		return "未知";
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	
	public String getStatusStr() {
		if (null == this.status) return "未知";
		if (this.status.equals("0")) return "失效";
		if (this.status.equals("1")) return "生效";
		return "未知";
	}
	
}
